package com.chushouya.manager.dto.api.sms;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("发送验证码DTO")
public class SendCodeDTO {
    @ApiModelProperty("手机号")
    @NotNull(message = "手机号不能为空")
    private String phone;
}
